package com.niiwoo.civet.user.service;

import com.niiwoo.civet.user.dto.NoticeMessageDTO;
import com.niiwoo.civet.user.dto.request.HomePageMessageHintRequestDTO;
import com.niiwoo.civet.user.dto.response.HomePageMessageHintResponseDTO;

import java.util.Map;

/**
 * Created by dell on 2017/12/15.
 * Description：civet-parent
 */
public interface HomePageDubboService {


    /**
     * 获取最新公告id
     * @return
     */
    Long newestNoticeId();


    /**
     * 查询首页公告列表
     * @param pageNumber
     * @param pageSize
     * @param userId
     * @return
     */
    Map<String, Object> postNiiwooNoticeList(int pageNumber, int pageSize, String userId);


    /**
     * 查看公告详情
     * @param id
     * @return
     */
    NoticeMessageDTO getNoticeDetail(Long id);
    
    /**
     * 首页消息提示
     * 
     * @param requestDTO
     * @return
     */
    HomePageMessageHintResponseDTO homePageMessageHint(HomePageMessageHintRequestDTO requestDTO);
}
